<?php
$title = "";
$tokey = "";

function getConfig($filename){
  global $title,$tokey;
  // 读取 INI 文件
  $config = parse_ini_file($filename, true);
  $title = $config['config']['title'];
  $tokey = $config['config']['tokey'];
}

function getUrls($filename){
    // 读取 INI 文件
    $config = parse_ini_file($filename, true);
    return $config;
}
